package com.zre.model.vo;

import com.zre.model.po.BookPo;
import com.zre.model.po.CategoryPo;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 书籍实体
 */
public class BookInfo extends BookPo {


    @NotNull(message = "bookType不能为空")
    private List<CategoryPo> bookType;

    private String typeName;

    public List<CategoryPo> getBookType() {
        return bookType;
    }

    public void setBookType(List<CategoryPo> bookType) {
        this.bookType = bookType;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }


}
